package com.kayang.wechat.pojo;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;


@Data
public class UserModel extends BaseModel<UserModel>{

    @NotBlank(message = "userid不能为空")
    private String userid;

    @NotBlank(message = "name不能为空")
    private String name;

    private String alias;

    private String mobile;

    private int[] department;

    private int order;

    private String position;

    //性别。1表示男性，2表示女性
    private String gender;

    @Email
    private String email;

    private int  directLeader;

    private int enable;

    private boolean to_invite;

    private String address;

}
